import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'element-plus/lib/theme-chalk/index.css';
import { installElement } from "./plugins/element";
import axios from './utils/http.js'   //请求
import '@/assets/css/normalize.css'  //默认样式
import '@/assets/css/index.css'  //默认全局css

const app = createApp(App)
// 全局挂在 axios 
app.config.globalProperties.$http = axios
app.use(store)
app.use(router)
installElement(app)
app.mount('#app')

